package com.gitee.neuray.security.wb.ribs.util.wechat.entity;

import com.alibaba.fastjson.annotation.JSONField;

public class WechatError {

	private int errCode;

	private String errMsg;

	@JSONField(name = "errcode")
	public int getErrCode() {
		return errCode;
	}
	@JSONField(name = "errcode")
	public void setErrCode(int errCode) {
		this.errCode = errCode;
	}
	@JSONField(name = "errmsg")
	public String getErrmsg() {
		return errMsg;
	}
	@JSONField(name = "errmsg")
	public void setErrmsg(String errMsg) {
		this.errMsg = errMsg;
	}

	@Override
	public String toString() {
		return "错误: Code=" + this.errCode + ", Msg=" + this.errMsg;
	}
}